package com.eddie.builder.improve;

/**
 * @author Eddie
 * @date 2022/07/28 10:44
 **/
public class CommonHouse extends HouseBuilder{
    @Override
    public void buildBasic() {
        house.setBasic("5米");
        System.out.println("普通房子打地基5米");
    }

    @Override
    public void buildWalls() {
        house.setWall("10cm");
        System.out.println("普通房子砌墙10cm");
    }

    @Override
    public void roofed() {
        house.setRoofed("普通屋顶");
        System.out.println("普通房子盖屋顶");
    }
}
